/**
@author Sidibe Moise (msmoise@hotmail.fr)
*/
package com.appspot.mscheckers.core;

import java.util.ArrayList;

public class Player{
	
	@SuppressWarnings("unused")
	private String name;
	@SuppressWarnings("unused")
	private int age;
	private char pawn;

	public Player(String name, int age, char pawn)
	{
		this.name = name;
		this.age = age;
		this.pawn = pawn;
	}
	public ArrayList<ArrayList<Position> > play(char[][] checkerBoard ){ return (new MoveTable(checkerBoard,this.pawn)).getMoveTable(); }
	public char getPawn(){return this.pawn;}
}
